package com.mswyt.utils.test.mp;

import com.mswyt.utils.msMp.MsDb;
import com.mswyt.utils.test.pb.bean.MsUser;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName: MpController
 * @Description:
 */
@RestController
@RequestMapping("/mp")
public class MpController {

    @GetMapping("/fillTest1")
    public void fillTest1(){
        MsUser msUser = new MsUser();
        msUser.setRemark("填充测试...");
        MsDb.saveOrUpdate(msUser);
    }
}
